#include <sys_head.h>



#define FILE_SIZE 1024
int main(int argc, char const *argv[])
{   

    



    int fd =open("README",O_RDONLY);

    char buf[FILE_SIZE];
    memset(buf,0,sizeof(buf));
    int bytes;
    while (0  <(bytes  = read(fd,buf,sizeof(buf)))  )
    {

       printf("%.*s", bytes, buf);
       memset(buf,0,sizeof(buf));
    }
    close(fd);

    return 0;
}
